Don't special-case Home and Desktop; just use their real names on the file
authorFederico Mena Quintero <federico@ximian.com>
Tue, 4 Oct 2005 20:08:32 +0000 (20:08 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 4 Oct 2005 20:08:32 +0000 (20:08 +0000)
commit5a659963337ba25351435c2d4711c07e86761966
tree0909213aa37eb1754a0f015402be02a0580fb526
parentde3cf6c83d486ede68b34370e0e16d9b693277e5
Don't special-case Home and Desktop; just use their real names on the file

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and
Desktop; just use their real names on the file system for the
user-visible names.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_class_init): Add a "desktop-folder"
binding signal, and bind it to M-d by default.
(desktop_folder_handler): Implement the default handler.
(home_folder_handler): Use a helper function.
(switch_to_shortcut): New helper function.
(shortcuts_append_home): Don't special-case the name of "Home";
just use the folder name.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkfilechooserdefault.c
gtk/gtkpathbar.c